package hzncc.wcs.entity.wcs;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.lang.Double;
import java.math.BigDecimal;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.diboot.core.util.D;
import com.diboot.core.entity.BaseModel;
import com.diboot.core.entity.BaseEntity;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 产品信息 Entity 定义
* @author MyName
* @version 1.0
* @date 2025-03-20
* Copyright © MyCorp
*/
@TableName("mdl_product_info")
@Getter @Setter @Accessors(chain = true)
public class ProductInfo extends BaseModel {
    private static final long serialVersionUID = 1469094777250368645L;
     /**
     * 产品编号
     */
     @Length(max=100, message="产品编号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String productNumber;

     /**
     * 产品名称
     */
     @Length(max=100, message="产品名称长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String productName;

     /**
     * 毛胚编号
     */
     @Length(max=100, message="毛胚编号长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String blankNumber;

     /**
     * 毛胚名称
     */
     @Length(max=100, message="毛胚名称长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String blankName;

     /**
     * 成品名称
     */
     @Length(max=100, message="成品名称长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String finalGoodsName;

     /**
     * 生产路线名称
     */
     @Length(max=100, message="生产路线名称长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String productionRouteName;

     /**
     * 生产路线
     */
     @Length(max=100, message="生产路线长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String productionRoute;

     /**
     * 料盘容量
     */
     @Length(max=100, message="料盘容量长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String trayCapacity;

     /**
     * 料盘图片
     */
     @TableField()
     private String trayPicture;

     /**
     * 状态
     */
     @Length(max=100, message="状态长度应小于100")
     @BindQuery(comparison = Comparison.LIKE)
     @TableField()
     private String status;


}